package com.cuanbobox.constant;

public class MatrixConstant {

    /**
     * 用于保存上次接收到矩阵消息时的时间
     */
    public static String KEY_MATRIX = "matrix";
    /**
     * 矩阵广播Action
     */
    public static String MATRIX_ACTION = "com.cuanbo.wisroomandroid.matrix";
    /**
     * 矩阵连接成功
     */
    public static final int TYPE_MATRIX_INIT_CONNECT_SUCCESS = 1;
    /**
     * 矩阵连接失败
     */
    public static final int TYPE_MATRIX_INIT_CONNECT_FAIL = 2;
    /**
     * 矩阵初始化异常
     */
    public static final int TYPE_MATRIX_INIT_ERROR = 3;
    /**
     * 接收到矩阵回传来数据的广播
     */
    public static final int TYPE_MATRIX_RECEIVE_MSG = 4;
    /**
     * 矩阵接收端线程异常
     */
    public static final int TYPE_MATRIX_RECEIVE_ERROR = 5;
    /**
     * 矩阵重连
     */
    public static final int TYPE_MATRIX_RECONNECT = 6;
    /**
     * 给矩阵发送消息时异常
     */
    public static final int TYPE_MATRIX_SEND_ERROR = 7;
    /**
     * 给矩阵上下课计时
     */
    public static final int TYPE_MATRIX_CLASS_TIMER = 8;
    /**
     * 重启EquipmentControlActivity
     */
    public static final int TYPE_RESTART_EQUIPMENTCONTROLACTIVITY = 9;
    /**
     * 读取矩阵信息成功
     */
    public static final int TYPE_READ_MATRIX_INFO_MSG_SUCCESS = 10;
    /**
     * 读取场景信息成功
     */
    public static final int TYPE_READ_SCENE_INFO_MSG_SUCCESS = 11;
    /**
     * 矩阵重连计时
     */
    public static final int TYPE_MATRIX_RECONNECT_Timer = 12;
    /**
     * 本机ip与中控ip网络不通
     */
    public static final int TYPE_MATRIX_IP_UNCONNECT = 13;
    /**
     * 过滤到灯光控制指令广播
     */
    public static final int TYPE_MATRIX_Light_MSG = 14;

    /**
     * 接收到矩阵回传来数据的广播
     */
    public static final int TYPE_MATRIX_RECEIVE_BYTE_DATA = 15;

    /**
     * 刷卡失败
     */
    public static final int TYPE_SWIPING_CARD_FAIL = 16;
}
